@echo off

set web=%~dp0%
set webapp=%~dp0%..\bdpmng\src\main\webapp\
set static=%webapp%static\
set jsph=%web%jsph.txt

echo %webapp%
echo %web%

rd /s %static%
md %static%

xcopy %web%dist\static %static% /e

xcopy %static%fonts %static%css\static\fonts\ /d

xcopy %static%img %static%css\static\img\ /d

type %jsph% > %webapp%index.jsp

type %web%dist\index.html >> %webapp%index.jsp

